package com.sxj.springsourcecode.springframework.factory.support.strategy;

import java.lang.reflect.Constructor;

/**
 * @ProjectName: spring-source-code
 * @Package: com.sxj.springsourcecode.springframework.factory.support.strategy
 * @ClassName: InstantiationStrategy
 * @Author: sxj
 * @Description:
 * @Date: 2024/2/21 13:50
 * @Version: 1.0.0
 */
public interface InstantiationStrategy {
    /**
     * 实例化对象
     * @param clz
     * @param ctr
     * @param args
     */
    Object instantBean(Class clz, Constructor ctr,Object[] args) throws Exception;
}
